package com.vhall.component.controller.record.facade;

import com.vhall.component.entity.record.RecordEntityDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lsl
 * @since 2021/6/9 11:38
 */
@FeignClient(value = "RecordInnerFacade", path = "/v4/inner/record")
public interface RecordInnerFacade {

    /**
     * 根据vod_id查询音视频数据
     *
     * @param recordId recordId
     * @return 音视频数据
     */
    @GetMapping("/get-record-by-vod-id")
    RecordEntityDTO getRecord(@RequestParam("recordId") String recordId);
}
